package com.graduation.project.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ListAssignmentDTO {
    private String taskName;

    private String adviserName;

    private String proposerName;

    private Integer assignmentStatus;

    /**
     * 当前页页码
     */
    @NotNull(message = "当前显示页码不能为空")
    private Integer currentPage;

    /**
     * 每页显示记录数
     */
    @NotNull(message = "每页显示记录数不能为空")
    private Integer pageSize;
}
